package com.spaceobj.chess.controller.demo;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("/demo1")
public class DemoController {
    @RequestMapping("/index")
    @ResponseBody
    public String index(){
        return "这是接口 demo1";
    }
}
